package com.apex.aolonfitdemo.ui;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.apex.aolonfitdemo.R;
import com.apex.aolonfitdemo.databinding.ActivityAgpsBinding;

public class AGPSActivity extends AppCompatActivity {
    ActivityAgpsBinding activityAgpsBinding;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        activityAgpsBinding=ActivityAgpsBinding.inflate(getLayoutInflater());
        setContentView(activityAgpsBinding.getRoot());
        activityAgpsBinding.tool.setNavigationIcon(R.mipmap.exit_page);
        setSupportActionBar(activityAgpsBinding.tool);
        getSupportActionBar().setTitle(null);
        activityAgpsBinding.tool.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        activityAgpsBinding.install.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //从网络下载GPS文件，然后将其组装
            }
        });
    }
}
